Raise an exception in xm_block_detach if using Xen-API and it fails -- this
authorEwan Mellor <ewan@xensource.com>
Tue, 20 Mar 2007 17:36:18 +0000 (17:36 +0000)
committerEwan Mellor <ewan@xensource.com>
Tue, 20 Mar 2007 17:36:18 +0000 (17:36 +0000)
commit5b3327347f83a473755b00a76ff1176dc6cda301
tree5cc87abdcd5b26eccd8adb2d092695226102e1d3
parent5ce79470d85099a90c46a265b1f45e70aafd9841
Raise an exception in xm_block_detach if using Xen-API and it fails -- this
ensures that the exit status properly set.

Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
tools/python/xen/xm/main.py